Einhugur macOS Bridge plugin.

EinhugurVisionBridge.VNRecognizedObjectObservation Class

A detected object observation with an array of classification labels that classify the recognized object.

The confidence of the classifications sum up to 1.0. Multiply the classification confidence with the confidence of this observation.

EinhugurVisionBridge.VNDetectedObjectObservation
   VNRecognizedObjectObservation

class EinhugurVisionBridge.VNRecognizedObjectObservation

Constructors

VNRecognizedObjectObservation (private) Private constructor.

Properties

BoundingBox (Inherited) The bounding box of the object that the request detects.
ClassName (Inherited) (desktop - console) Returns the name of the Cocoa class under the hood as String.
Confidence (Inherited) Returns the level of confidence in the observation’s accuracy.
Handle (Inherited) Returns Integer handle to the native NSObject structure.
UUID (Inherited) Returns a unique identifier assigned to the Vision observation.

Methods

shared CastDoes deep cast on incoming NSObject to VNRecognizedObjectObservation.
shared FromIntegerPtrConstructs VNRecognizedObjectObservation object from Integer handle coming from declares or 3rd party plugin.
GetLabelsReturns an array of observations that classify the recognized object.
shared IsVNRecognizedObjectObservationReturns true if the NSObject under the hood is VNRecognizedObjectObservation or derived from VNRecognizedObjectObservation.
Release (Inherited) Releases the NSObject.
Retain (Inherited) Retains the NSObject

Constants

Version = 5.0 (Inherited)

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • iOS
  • Unsupported Platforms:

  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit